<%@ page language="java" pageEncoding="utf-8"%>
<%@ page language="java" import="java.util.*"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="<%=basePath%>"/>
    
    
    <title>国际研究生教育法律法规信息资料数据库</title>
	
	<link href="css/userfile.css" type="text/css" rel="stylesheet" />
<link href="css/base.css" type="text/css" rel="stylesheet" />
</head>



<body>
	<% 	
		List<String> languageList = new ArrayList<String>();
		languageList =new ArrayList<String>(); 
		languageList.add("中文"); 
		languageList.add("英文"); 
		languageList.add("其他");  
		request.setAttribute("languageList",languageList);
	%>
	
  <s:include value="../user_page_top.jsp"/>
  
  <div style="height:20px;"></div>
<div class = "usercont">
  	
    <s:include value="../user_page_left.jsp"/>
    
    <div class="width-800 right">
		<div class="righttcont">
      
<h2>修改文件</h2>
<s:form  enctype="multipart/form-data" action="edit" namespace="/file" method="post">
<s:hidden name="next"/>
<s:hidden  name="item.itemId" />
<s:fielderror/>
				<div class="left" style="margin-left:10px;">
				<table>
					<tr>
					<td><label>文件名称（原文）</label></td>
					<td><s:textarea name="item.fileName" cols="25" rows="3"/></td>
				  </tr>
				  
				  <tr>
					<td>文件</td>
					<td><input name="file" type="file" /></td>
				  </tr>
				  
				  
				  <tr>
					<td><label>类型</label></td>
					<td>
					<s:select name="item.type" list="#{'country':'国家层面','school':'学校层面','organ':'国际组织','other':'其他'}" />
					</td>
				 </tr>
				  
				  <tr>
					<td><label>发布机构  （原文）</label></td>
					<td><s:textarea name="item.publishOrgan" cols="25" rows="2"/></td>
				  </tr>
			 		 <tr>
					<td><label>资料来源</label></td>
					<td><s:textarea name="item.dataSource" cols="30" rows="4"/></td>
				  </tr>
				  <tr>
					<td><label>是否全文</label></td>
					<td><s:checkbox name="item.isAll"></s:checkbox></td>
				  </tr>
				 </table>
				 </div>
				 <div class="right" style="margin-right:40px;">
				 <table>
				  
				  
				  <tr>
					<td><label>文件名称（中文）</label></td>
					<td><s:textarea name="item.fileNameCh" cols="25" rows="3"/></td>
				  </tr>
				  
				  <tr>
					<td><label>发布年份 </label></td>
					
					<td><s:textfield name="year"/></td>
				  </tr>
				  <tr>
				  		<td><label>国家 </label></td>
						<td><s:select name="itecountry" 
						list="#{'China':'中国','US':'美国','UK':'英国','jp':'日本',
						'Canada':'加拿大','India':'印度','NewZealand':'新西兰','Australia':'澳大利亚',
						'SouthAfrica':'南非','Denmark':'丹麦','Sweden':'瑞典','Norway':'挪威','France':'法国',
						'Germany':'德国',						
						'other':'其他'}" /></td>
				  </tr>
				  
				  <tr>
					<td><label>发布机构（中文）</label></td>
					<td><s:textarea name="item.publishOrganCh" cols="25" rows="2"/></td>
				  </tr>
				  <tr>
					<td><label>语言</label></td>
					<td><s:select name="item.language" list="#{'cn':'中文','en':'英文','zh_tr':'中文繁体','other':'其他'}" />
					</td>
				  </tr>
				 
				
				</table>
				</div>
				
				<div class="clear"></div>
        <div style="margin-left:10px;">
        <table>
        <tr>
            <td><label>主要内容介绍（原始）</label></td>
            <td><s:textarea name="item.mainContent" cols="40" rows="6"/></td>
          </tr>
          <tr>
            <td><label>主要内容（中文）</label></td>
            <td> <s:textarea name="item.mainContentCh" cols="40" rows="6"/></td>
          </tr>
          
          
          
          <tr>
            <th></th>
            <td><button name=""  type="submit" >提交</button></td>
          </tr>
          </table>
        </div>
        <div class="clear"></div>
</s:form>
</div>
</div>
 </div>      
      
   <s:include value="../foot.jsp"/>

</body>
</html>
